﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Frogism.Web
{
    public class FrogPrincipal : System.Security.Principal.IPrincipal
    {
        private System.Security.Principal.IIdentity _Idendity;
        public FrogPrincipal(System.Security.Principal.IIdentity identity)
        {
            _Idendity = identity;
        }
        #region IPrincipal Members

        public System.Security.Principal.IIdentity Identity
        {
            get { return _Idendity; }
        }

        public bool IsInRole(string role)
        {
            return true;
        }

        #endregion
    }
}
